package com.seckill.system.api.domain;



import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author huhu
 * @since 2021-06-21
 */

public class Seckill implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 库存对应的商品sku id
     */
    private Long skuId;

    /**
     * 秒杀价格
     */
    private BigDecimal seckillPrice;

    /**
     * 秒杀开始时间
     */
   /* @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")*/
    private Date seckillCreatedate;

    /**
     * 秒杀结束时间
     */
    /*@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")*/
    private Date seckillEnddate;

    /**
     * 秒杀修改时间
     */
    /*@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")*/
    private Date seckillUpdate;

    /**
     * 秒杀状态
     */
    private Integer status;


    private String title;

    /**
     * 商品的图片，多个图片以‘,’分割
     */
    private String images;

    private Integer times;
    //秒杀数量
    private Integer seckillStock;

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(BigDecimal seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    public Date getSeckillCreatedate() {
        return seckillCreatedate;
    }

    public void setSeckillCreatedate(Date seckillCreatedate) {
        this.seckillCreatedate = seckillCreatedate;
    }

    public Date getSeckillEnddate() {
        return seckillEnddate;
    }

    public void setSeckillEnddate(Date seckillEnddate) {
        this.seckillEnddate = seckillEnddate;
    }

    public Date getSeckillUpdate() {
        return seckillUpdate;
    }

    public void setSeckillUpdate(Date seckillUpdate) {
        this.seckillUpdate = seckillUpdate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Integer getSeckillStock() {
        return seckillStock;
    }

    public void setSeckillStock(Integer seckillStock) {
        this.seckillStock = seckillStock;
    }
}
